﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Mac
 *      Date:           2013/8/4 21:10:51
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sector7.Framework.Enums;

namespace Sector7.Medical.Events
{
    /// <summary>
    /// 编辑完成事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void EditCompletedEventHandler(object sender, EditCompletedEventArgs e);

    /// <summary>
    /// 编辑完成事件参数
    /// </summary>
    public class EditCompletedEventArgs : EventArgs
    {
        #region Accessor
        /// <summary>
        /// 获取编辑类型
        /// </summary>
        public CrudType CrudType
        {
            get { return m_crudType; }
        }
        #endregion

        #region Structure
        public EditCompletedEventArgs(CrudType crudType)
        {
            m_crudType = crudType;
        }
        #endregion

        #region Inner members
        private CrudType m_crudType = CrudType.Unknown;
        #endregion
    }
}
